const ROLE_USER = 'user';
const UserRoutes = [
    {
        path: 'home',
        name: 'userHome',
        component: () => import('../views/user/Home.vue'),
        meta: {requiresAuth: true, role: ROLE_USER}
    },
    {
        path: 'assets',
        name: 'userAssets',
        component: () => import('../views/user/AssetList.vue'),
        meta: {requiresAuth: true, role: ROLE_USER}
    },
    {
        path: 'borrow',
        name: 'userBorrow',
        component: () => import('../views/user/Borrow.vue'),
        meta: {requiresAuth: true, role: ROLE_USER}
    },
    {
        path: 'signManage',
        name: 'userSignManage',
        component: () => import('../views/user/SignManage.vue'),
        meta: {requiresAuth: true, role: ROLE_USER}
    }
]

export default UserRoutes